package com.lanhai.longheng.redis;

/**
 * 队列中的redis数据
 * @author zhengwei
 *
 */
public class RedisDataBean {
	private String mainkey;
	private String key;
	private String json;
	
	public boolean isHSet() {
		if(key.isBlank()||key.equals(mainkey)){
			return false;
		}
		return true;
	}
	
	
	public String getMainkey() {
		return mainkey;
	}
	public void setMainkey(String mainkey) {
		this.mainkey = mainkey;
	}
	public String getKey() {
		return key;
	}
	public void setKey(String key) {
		this.key = key;
	}
	public String getJson() {
		return json;
	}
	public void setJson(String json) {
		this.json = json;
	}
	
	
}
